score = []

for i in range(10):
    print(f"请第{i+1}位评委输入评分:")
    score.append(float(input()))

score = tuple(score)

print(f"去掉最低分:{min(score)}")
print(f"去掉最高分:{max(score)}")

print(f"选手最终得分为:{(sum(score)-min(score)-max(score))/8:.1f}")
